﻿<Controls:MetroWindow x:Class="ChoWorkflowDashboard.ChoMultilineInputWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        Title="ChoMultilineInputWindow" Height="224" Width="377" ResizeMode="CanResize" ShowInTaskbar="False" 
        Background="AliceBlue" Topmost="False"
        BorderBrush="{DynamicResource AccentColorBrush}"
        BorderThickness="1" ShowMaxRestoreButton="false" ShowMinButton="false"
                      >
    <DockPanel LastChildFill="True" FocusManager.FocusedElement="{Binding ElementName=txtInput}">
        <Grid DockPanel.Dock="Bottom" Margin="5,0,5,5">
            <Grid.ColumnDefinitions> 
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="80"/>
                <ColumnDefinition Width="80" />
            </Grid.ColumnDefinitions>

            <Button Grid.Column="1" Content="OK" Height="23" IsDefault="True" Name="btnOK" TabIndex="50" Tag="4" Width="75" Click="btnOK_Click" Canvas.Left="201" />
            <Button Grid.Column="2" Content="Cancel" Height="23" IsCancel="True" Name="btnCancel" TabIndex="51" Tag="5" Width="75" Click="btnCancel_Click" Canvas.Left="281" />
        </Grid>
        <TextBox Name="txtInput" AcceptsReturn="True" AcceptsTab="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" TabIndex="1" Margin="5" />
    </DockPanel >
</Controls:MetroWindow>
